projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb2c06a
)
(read-number): Doc fix.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 21 Apr 2007 08:55:41 +0000
(08:55 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 21 Apr 2007 08:55:41 +0000
(08:55 +0000)
lisp/subr.el
patch
|
blob
|
history
diff --git
a/lisp/subr.el
b/lisp/subr.el
index db69a3f6f5bc9f9c154094a5c5032608a2c39fed..fac2398a7954db05a3706d89d897f313a191885c 100644
(file)
--- a/
lisp/subr.el
+++ b/
lisp/subr.el
@@
-1719,6
+1719,9
@@
by doing (clear-string STRING)."
;; This should be used by `call-interactively' for `n' specs.
(defun read-number (prompt &optional default)
+ "Read a numeric value in the minibuffer, prompting with PROMPT.
+DEFAULT specifies a default value to return if the user just types RET.
+The value of DEFAULT is inserted into PROMPT."
(let ((n nil))
(when default
(setq prompt